@import
  "https://maxcdn.bootstrapcdn.com/font-awesome/4.4.0/css/font-awesome.min.css"
  ;

@import "https://daneden.github.io/animate.css/animate.min.css";
/*-------------------------------*/
/*           VARIABLES           */
/*-------------------------------*/
body {
  position: relative;
  overflow-x: hidden;
}

.nav .open>a {
  background-color: transparent;
}

.nav .open>a:hover {
  background-color: transparent;
}

.nav .open>a:focus {
  background-color: transparent;
}
/*-------------------------------*/
/*           Wrappers            */
/*-------------------------------*/
#wrapper {
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  padding-left: 0;
  transition: all 0.5s ease;
}

#wrapper.toggled {
  padding-right: 220px;
}

#wrapper.toggled .hamburger {
  right: 220px;
}

#wrapper.toggled #sidebar-wrapper {
  width: 220px;
  right: 0;
}

#wrapper.toggled #page-content-wrapper {
  margin-left: -220px;
  position: absolute;
}

#sidebar-wrapper {
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  background: #1a1a1a;
  height: 100%;
  right: -5px;
  overflow-x: hidden;
  overflow-y: auto;
  transition: all 0.5s ease;
  width: 0;
  position: fixed;
  z-index: 1000;
  border-radius: 0;
}

#sidebar-wrapper::-webkit-scrollbar {
  display: none;
}

#page-content-wrapper {
  width: 100%;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}
/*-------------------------------*/
/*     Sidebar nav styles        */
/*-------------------------------*/
.sidebar-nav {
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 0;
  width: 220px;
}

.sidebar-nav li {
  display: inline-block;
  line-height: 20px;
  position: relative;
  width: 100%;
}

.sidebar-nav li:before {
  background-color: #1c1c1c;
  content: '';
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  -webkit-transition: width 0.2s ease-in;
  transition: width 0.2s ease-in;
  width: 3px;
  z-index: -1;
}

.sidebar-nav li:first-child img {
  width: 100px;
}

.sidebar-nav li:nth-child(2):before {
  background-color: #402d5c;
}

.sidebar-nav li:nth-child(3):before {
  background-color: #4c366d;
}

.sidebar-nav li:nth-child(4):before {
  background-color: #583e7e;
}

.sidebar-nav li:nth-child(5):before {
  background-color: #64468f;
}

.sidebar-nav li:nth-child(6):before {
  background-color: #704fa0;
}

.sidebar-nav li:nth-child(7):before {
  background-color: #7c5aae;
}

.sidebar-nav li:nth-child(8):before {
  background-color: #8a6cb6;
}

.sidebar-nav li:nth-child(9):before {
  background-color: #987dbf;
}

.sidebar-nav li:hover:before {
  -webkit-transition: width 0.2s ease-in;
  transition: width 0.2s ease-in;
  width: 100%;
}

.sidebar-nav li a {
  color: #dddddd;
  display: block;
  padding: 10px 15px 10px 30px;
  text-decoration: none;
}

.sidebar-nav li.open:hover before {
  -webkit-transition: width 0.2s ease-in;
  transition: width 0.2s ease-in;
  width: 100%;
}

.sidebar-nav .dropdown-menu {
  background-color: #222222;
  border-radius: 0;
  border: none;
  box-shadow: none;
  margin: 0;
  padding: 0;
  position: relative;
  width: 100%;
}

.sidebar-nav li a:hover, .sidebar-nav li a:active, .sidebar-nav li a:focus,
  .sidebar-nav li.open a:hover, .sidebar-nav li.open a:active,
  .sidebar-nav li.open a:focus {
  background-color: transparent;
  color: #ffffff;
  text-decoration: none;
}

.sidebar-nav>.sidebar-brand {
  font-size: 20px;
  height: 65px;
  line-height: 44px;
}

.sidebar-nav .nav-avatar>.action {
  vertical-align: top;
  display: inline-block;
  font-size: 5rem;
  width: 10rem;
  height: 10rem;
  background: #337ab7;
  color: #fff;
  line-height: 10rem;
  border-radius: 50%;
  text-align: center;
}
/*-------------------------------*/
/*       Hamburger-Cross         */
/*-------------------------------*/
.hamburger {
  background: transparent;
  border: none;
  display: block;
  height: 32px;
  margin-left: 15px;
  position: fixed;
  top: 10px;
  right: 2%;
  width: 32px;
  z-index: 999;
  -moz-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  -webkit-transition: all 0.5s ease;
  transition: all 0.5s ease;
}

.hamburger:hover {
  outline: none;
}

.hamburger:focus {
  outline: none;
}

.hamburger:active {
  outline: none;
}

.hamburger.is-closed:before {
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transition: all 0.35s ease-in-out;
  color: #ffffff;
  content: '';
  display: block;
  font-size: 14px;
  line-height: 32px;
  opacity: 0;
  text-align: center;
  width: 100px;
}

.hamburger.is-closed:hover before {
  -webkit-transform: translate3d(-100px, 0, 0);
  -webkit-transition: all 0.35s ease-in-out;
  display: block;
  opacity: 1;
}

.hamburger.is-closed:hover .hamb-top {
  -webkit-transition: all 0.35s ease-in-out;
  top: 0;
}

.hamburger.is-closed:hover .hamb-bottom {
  -webkit-transition: all 0.35s ease-in-out;
  bottom: 0;
}

.hamburger.is-closed .hamb-top {
  -webkit-transition: all 0.35s ease-in-out;
  background-color: rgba(255, 255, 255, 0.7);
  top: 5px;
}

.hamburger.is-closed .hamb-middle {
  background-color: rgba(255, 255, 255, 0.7);
  margin-top: -2px;
  top: 50%;
}

.hamburger.is-closed .hamb-bottom {
  -webkit-transition: all 0.35s ease-in-out;
  background-color: rgba(255, 255, 255, 0.7);
  bottom: 5px;
}

.hamburger.is-closed .hamb-top, .hamburger.is-closed .hamb-middle,
  .hamburger.is-closed .hamb-bottom, .hamburger.is-open .hamb-top,
  .hamburger.is-open .hamb-middle, .hamburger.is-open .hamb-bottom {
  height: 4px;
  left: 0;
  position: absolute;
  width: 100%;
}

.hamburger.is-open .hamb-top {
  -webkit-transform: rotate(45deg);
  -webkit-transition: -webkit-transform 0.2s
    cubic-bezier(0.73, 1, 0.28, 0.08);
  background-color: #fff;
  margin-top: -2px;
  top: 50%;
}

.hamburger.is-open .hamb-middle {
  background-color: #fff;
  display: none;
}

.hamburger.is-open .hamb-bottom {
  -webkit-transform: rotate(-45deg);
  -webkit-transition: -webkit-transform 0.2s
    cubic-bezier(0.73, 1, 0.28, 0.08);
  background-color: #fff;
  margin-top: -2px;
  top: 50%;
}

.hamburger.is-open:before {
  -webkit-transform: translate3d(0, 0, 0);
  -webkit-transition: all 0.35s ease-in-out;
  color: #1a1a1a;
  content: '';
  display: block;
  font-size: 14px;
  line-height: 32px;
  opacity: 0;
  text-align: center;
  width: 100px;
}

.hamburger.is-open:hover before {
  -webkit-transform: translate3d(-100px, 0, 0);
  -webkit-transition: all 0.35s ease-in-out;
  display: block;
  opacity: 1;
}
/*-------------------------------*/
/*          Dark Overlay         */
/*-------------------------------*/
.overlay {
  position: fixed;
  display: none;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.25);
  z-index: 21;
}

/* ��ʽ���� */
body {
  background-color: #f0f0f0 !important;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB,
    Microsoft YaHei, Noto Sans CJK SC, WenQuanYi Micro Hei, Arial,
    sans-serif;
}

input[type="text"][name="name"], input[type="text"][name="email"], input[type="text"][name="title"],
  input[type="password"] {
  height: 48px;
  border: none;
  outline: none;
  width: 100%;
  border-bottom: 1px solid #999;
  background: transparent;
}

select {
  height: 42px;
  border: none;
  border-bottom: 1px solid #999;
  padding: 0 2rem;
  background: transparent;
  font-size: 20px;
}

[type="submit"] {
  width: 100%;
}

img {
  margin: auto;
  display: block;
  max-width: 100%;
}

small {
  color: #aaa;
  line-height: 3em;
}

nav.nav-bd {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 20;
}

a.navbar-brand {
  height: auto;
}

form.navbar-form {
  width: 18.75rem;
}
/* relative-top��ʽ */
.relative-top-11 {
  position: relative;
  top: .6875rem;
}

.relative-top-36 {
  position: relative;
  top: 2.25rem;
}

.relative-top-52 {
  position: relative;
  top: 3.25rem;
}

.relative-left-40 {
  position: relative;
  left: 2.5rem;
}
/* margin-top��ʽ */
.margin-0 {
  margin: 0;
}

.margin-top-16 {
  margin-top: 1rem;
}

.margin-top-32 {
  margin-top: 2rem;
}

.margin-top-64 {
  margin-top: 4rem;
}
/* margin-left*/
.margin-left-16 {
  margin-left: 1rem;
}

.margin-left-32 {
  margin-left: 2rem;
}

.margin-left-64 {
  margin-left: 4rem;
}

.margin-left-128 {
  margin-left: 8rem;
}

.margin-right-32 {
  margin-right: 2rem;
}
/* margin-bottom */
.margin-bottom-8 {
  margin-bottom: .5rem;
}

.margin-bottom-16 {
  margin-bottom: 1rem;
}

.margin-bottom-32 {
  margin-bottom: 2rem;
}
/* height��ʽ */
.height-100-vh {
  height: 100vh;
}

.font-size-150 {
  font-size: 150%;
}
/* form�������� */
.width-48 {
  width: 48%;
}

.inline-block {
  display: inline-block;
}

.form-search {
  position: relative;
  padding-top: 2rem;
  margin: -1.25rem auto 0;
}

.form-search .label-search {
  position: absolute;
  left: 1rem;
  color: #ccc;
}

.form-search .label-search .glyphicon {
  top: 8px;
}

.form-search .input-search {
  padding-left: 3rem;
  padding-right: 10rem;
  border-radius: 1.5rem;
  background-color: #333;
  border: 1px solid #1a1a1a;
}
/* ��ʽ */
.text-box {
  padding: 5rem 1rem;
  text-align: center;
}

.fixed {
  position: fixed;
}

.white-box {
  padding: 1rem 2.5rem;
  background-color: #fff;
}

.post-article {
  color: #666;
  padding: 0 1rem;
}

.post-readbtn {
  text-align: center;
}

.post-readbtn a {
  padding: .5rem 5rem;
  border: 1px solid #337ab7;
  border-radius: 5px;
}

.post-readbtn a:hover {
  background-color: #23527c;
  color: #fff;
  text-decoration: none;
}

.prefix-block {
  padding-left: 1rem;
  border-left: 4px solid #666;
}

.text-align-center {
  text-align: center;
}

.text-align-right {
  text-align: right;
}

.action {
  vertical-align: top;
  display: inline-block;
  font-size: 3rem;
  width: 6rem;
  height: 6rem;
  background: #3ab143;
  color: #fff;
  line-height: 6rem;
  border-radius: 50%;
  text-align: center;
}

.comment-time {
  color: #999;
}

.post {
  padding-bottom: 5rem;
}
/* id��ʽ */
#mainNav {
  background-color: #1a1a1a;
  margin-bottom: 0;
  border-radius: 0;
}

#mainNav .navbar-header img {
  height: 2rem;
}

#mainNav a {
  color: #999;
}

#mainNav a:hover {
  color: #666;
}

#web-footer {
  background: #1a1a1a;
  color: #ccc;
  margin-top: 4rem;
  width: 100%;
}

#web-footer>section {
  padding-top: 5rem;
  padding-bottom: 5rem;
  text-align: center;
}

#page-nav {
  padding-top: 1rem;
  padding-bottom: 1rem;
  text-align: center;
}

#page-nav a {
  padding: 0.5rem;
  color: #fff;
  background: #999;
  border-radius: 5px;
  margin: 0 .3rem;
}

#page-nav a:hover {
  background: #337ab7;
}

#cateNav, #newNav {
  padding-bottom: 2rem;
}

#cateNav h3, #newNav h3 {
  margin-top: 1rem;
}

#cateNav hr, #newNav hr {
  margin: 1rem 0;
}

#login-page {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  text-align: center;
  background-image: url('/source/img/login-img.jpg');
  background-size: cover;
}

#login-page .login-title {
  position: absolute;
  top: 25rem;
  left: 20%;
  color: #fff;
  text-align: left;
}

#login-panel {
  padding: 3rem 5rem;
  width: 40rem;
  z-index: 2;
  background: rgba(255, 255, 255, 1);
  display: inline-block;
  margin-left: 55rem;
  margin-top: 18rem;
  border-radius: .3rem;
}

#sign-page {
  position: absolute;
  top: 0;
  width: 100%;
  height: 100vh;
  text-align: center;
  background-image: url('/source/img/sign-img.jpg');
  background-size: cover;
}

#sign-panel {
  padding: 3rem 5rem;
  width: 40rem;
  z-index: 2;
  background: rgba(255, 255, 255, 1);
  display: inline-block;
  margin-top: 8%;
  border-radius: .3rem;
}

#sign-panel small {
  text-align: left;
}

#edit-area {
  width: 100%;
  min-height: 100vh;
  position: absolute;
  z-index: 1;
}

#postEditTitle {
  width: 50%;
  font-size: 20px;
  margin: .5rem;
}

#comment textarea {
  width: 100%;
  min-height: 13rem;
}

#comment textarea:focus {
  outline: none !important;
  background-color: #fafbf5;
  border: 1px solid #4ca957;
  -moz-box-shadow: 2px 2px 4px #e8e9e4 inset;
  -webkit-box-shadow: 2px 2px 4px #e8e9e4 inset;
  box-shadow: 2px 2px 4px #e8e9e4 inset;
}

#comment [name="button"] {
  color: #fff;
  background-color: #3ab143;
  border-color: #399c3f;
  width: 10rem;
}

#sideNav {
  width: 5rem;
  visibility: hidden;
  z-index: 1;
  position: fixed;
  right: 5rem;
  bottom: 10rem;
  padding: 0;
  border-radius: 50%;
}

#sideNav .side-button {
  display: inline-block;
  text-align: center;
  width: 100%;
  padding: 1.2rem 0;
}

#sideNav .side-button:hover span {
  transform: scale(1.2);
}

#Toc ul {
  padding: 0;
  list-style: none;
}

#Toc ul a {
  text-decoration: none;
}

#slide_box {
  width: 100%;
  height: 42px;
  text-align: center;
  line-height: 42px;
  font-size: 14px;
  color: #717171;
  background-color: #e8e8e8;
  border: none;
}

#slide_xbox {
  width: 50px;
  height: 42px;
  text-align: center;
  line-height: 42px;
  font-size: 16px;
  color: #fff;
  position: absolute;
  background: #35b34a;
}

#btn {
  cursor: pointer;
  width: 50px;
  height: 42px;
  background-color: #fff;
  float: right;
  -webkit-box-shadow: 0px 0px 15px 0px #ddd;
  -moz-box-shadow: 0px 0px 15px 0px #ddd;
  box-shadow: 0px 0px 15px 0px #ddd;
  color: #8a8c97;
}

#btn>.iconfont {
  font-size: 20px;
}

#manger-post {
  min-height: 60vh;
}

.almanac-container {
  margin: 0 auto 0;
  padding: 1rem;
  background-color: #fff;
}

.almanac-container>.almanac-title {
  color: #bbb;
  font-weight: bold;
  margin-bottom: 10px;
  background: #555;
  padding: 5px 15px;
}

.almanac-adlink {
  text-align: center;
  font-size: 11pt;
}

.almanac-adlink a {
  text-decoration: none;
  display: block;
  color: #666;
  font-weight: bold;
  margin-bottom: 10px;
  background: #eee;
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 10pt;
  margin-top: 10pt;
}

.almanac-date {
  font-weight: bold;
  line-height: 20pt;
  text-align: center;
}

.salmanac-plit, .almanac-clear {
  clear: both;
  height: 1px;
  overflow-y: hidden;
}

.almanac-good, .almanac-bad {
  clear: both;
  position: relative;
}

.almanac-bad {
  /*top: -1px;*/
  
}

.almanac-good .almanac-title, .almanac-bad .almanac-title {
  float: left;
  width: 35%;
  font-weight: bold;
  text-align: center;
  font-size: 30pt;
  position: absolute;
  top: 0;
  bottom: 0;
}

.almanac-good .almanac-title>table, .almanac-bad .almanac-title>table {
  position: absolute;
  width: 100%;
  height: 100%;
  border: none;
}

.almanac-good .almanac-title {
  background: #ffee44;
}

.almanac-someday .almanac-good .almanac-title {
  background: #aaaaaa;
}

.almanac-bad .almanac-title {
  background: #ff4444;
  color: #fff;
}

.almanac-someday .almanac-bad .almanac-title {
  background: #666666;
  color: #fff;
}

.almanac-good .almanac-content, .almanac-bad .almanac-content {
  margin-left: 40%;
  padding-right: 10px;
  padding-top: 1px;
  font-size: 15pt;
}

.almanac-someday .almanac-good {
  background: #dddddd;
}

.almanac-someday .almanac-bad {
  background: #aaaaaa;
}

.almanac-good {
  background: #ffffaa;
}

.almanac-bad {
  background: #ffddd3;
}

.almanac-content ul {
  list-style: none;
  margin: 10px 0 0;
  padding: 0;
}

.almanac-content ul li {
  line-height: 150%;
  font-size: 15pt;
  font-weight: bold;
  color: #444;
}

.almanac-content ul li div.almanac-description {
  font-size: 11pt;
  font-weight: normal;
  color: #777;
  line-height: 110%;
  margin-bottom: 10px;
}

.almanac-line-tip {
  font-size: 11pt;
  margin-top: 10px;
  margin-left: 10px;
}

.almanac-direction_value {
  color: #4a4;
  font-weight: bold;
}

.almanac-someday .almanac-direction_value {
  color: #888;
}

.almanac-goddes_value {
  color: #f87;
}

.almanac-someday .almanac-goddes_value {
  color: #777;
}

.almanac-comment {
  margin-top: 50px;
  font-size: 11pt;
  margin-left: 10px;
}

.almanac-comment ul {
  margin-left: 0;
  padding-left: 20px;
  color: #999;
}

#box-404 {
  text-align: center;
  padding: 15rem 0;
}
#box-404 .big-font {
  font-size: 800%;
}
#box-404 .box-404-btn {
  padding: .7rem 1.5rem;
  border: 1px solid #000;
  display: inline-block;
  border-radius: 5px;
  color: #000;
  text-decoration: none;
  transtion: all .5s;
}
#box-404 .box-404-btn:hover {
  transform: scale(1.1);
}